home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
GAMES
/
TSLFRT1.ARJ
/
CHAPTER.5
< prev
next >
Wrap
Text File
|
1992-03-11
|
3KB
|
89 lines
Chapter 5
THE TRAIN NAMES FILE filename: TRNNAMES.DAT
The TRAIN NAMES file contains the description of the daily
trains that you may choose to run. Like the prototype, each
train has a short code to reduce paperwork.
TRAIN NAMES FILE, DATA FIELDS
The first data field, RECORD NUMBER permits up to 10 trains.
The numbering 01 to 10 is sacred- leave it alone!
The second data field TRAIN NAME can be any name you wish up to
29 characters starting in column 05. It not used in the program
but is for your convenience.
The third data field TRAIN CODE is 1 to 4 characters. The same
codes will be used in the LCTNCODE file. It is helpful to
choose meaningful codes that are acronyms of the train names.
Up to four characters starting in column 35.
A special case arrises for interchange traffic: The connecting
railroad(s) are essentially our customers and customers have a
three character ident code. Make the first three characters of
the TRAINCODE the same for the inbound and matching outbound
trains. Also use the same three characters in the WAYBILL.DAT
file. We like to use X=interchange followed by UP=Union Pacific
or GN=GReat Northern etc.
The fourth data field, MAXIMUM TRAIN LENGTH, you must decide
upon according to your power, grades, passing sidings etc.
Keep it reasonably short as its not uncommon to tie onto twice
that many cars while switching wayside industries. A train is
first assigned loads that must be moved to customers, then we
take calls from new customers for empties. When a train has
been filled to maximum, we reject those calls, customers get
unhappy and they call the truckers. Enter numbers 01 to 99
starting in column 40
The fifth data field identifies the Class of train. Only
numbers 1, 2 or 3 are acceptable. The classes described in the
file are reproduced here:
5-2
class: [1] local trains service nearby industries and return
with pickups the same day. Our local MALFUNCTION
JUNCTIION TRAMP never leaves the yards. It serves
the customers in the immediate yard area.
[2] Outbound interchange trains take cars from our
yard to a foreign railroad, (a holding or staging
yard, or even boxes on the shelf) and return them
another day.
[3] Inbound interchange trains return the outbounds at
a later date with some new waybills. After each
outbound [2] train entry, You MUST have an
incoming train, class [3] to return the cars. The
names may be the same, but the train codes MUST be
differant.